package cn.tedu.ivos2.base.exception;

import cn.tedu.ivos2.base.response.StatusCode;
import lombok.Getter;

import java.sql.SQLIntegrityConstraintViolationException;

public class DuplicateException extends RuntimeException {
    @Getter
    private StatusCode statusCode;
    public DuplicateException(StatusCode statusCode){
        this.statusCode=statusCode;
    }
}
